home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 039a / netpq203.zip / SORT.C < prev    next >
Text File  |  1993-03-01  |  347b  |  23 lines

  1. #include <stdio.h>
  2.  
  3. #include "nos.h"
  4. #include "noslib.h"
  5. #include "netpq.h"
  6. #include "proto.h"
  7.  
  8. int comparestring (char *s1, char *s2)
  9.     {
  10.     return (strcmp (s1, s2));
  11.     }
  12.  
  13.  
  14. int compareDWORD (DWORD *d1, DWORD *d2)
  15.     {
  16.     if (*d1 < *d2)
  17.     return (-1);
  18.     else if (*d1 == *d2)
  19.     return (0);
  20.     else
  21.     return (1);
  22.     }
  23.